import request from '@/utils/request'

export function goodList() {
  return request({
    url: '/good/good',
    method: 'get'
  })
}

export function addGood(data) {
  return request({
    url: '/good/good',
    method: 'post',
    data
  })
}

export function delGood(data) {
  return request({
    url: '/good/good',
    method: 'delete',
    data
  })
}
